package com.sluggard.security.manage.model.req;

import com.sluggard.mp.model.req.BaseReq;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
* <p>
    * 菜单管理请求体
    * </p>
*
* @author lizheng
* @since 2024-04-28
*/
@Getter
@Setter
@Accessors(chain = true)
@Schema(name = "菜单管理请求体", description = "菜单管理")
public class MenuReq extends BaseReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "父节点")
    private Long parentId;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "访问路径")
    private String path;

    @Schema(description = "页面组件")
    private String component;

    @Schema(description = "是否显示")
    private Boolean hidden;

    @Schema(description = "聚焦菜单")
    private String activeMenu;

    @Schema(description = "权限类型 0 目录 1 菜单 2 按钮")
    private Integer type;

    @Schema(description = "是否显示{0:隐藏,1:显示}")
    private Integer status;

    @Schema(description = "排序号")
    private Integer sortNo;
}

